package com.party.core.model.mall;

import com.google.common.collect.Lists;

import java.util.Date;
import java.util.List;
import java.util.Map;

/**
 * @Description: 商品信息输出
 * @Author: yangshoukun
 * @Date: 2018/4/17 15:16
 */
public class MallGoodsInfo {
    // 商品id
    private String id;
    // 商品名称
    private String name;
    // 商品详情
    private String content;
    // 商品价格(区间)
    private String price;
    // 邮费/运费
    private Double postage;
    // 库存
    private Long stock;
    // 店铺id
    private String storeId;
    // 店铺名称
    private String storeName;
    // 是否收藏
    private Boolean isCollect;
    // 删除标志
    private String delFlag;
    // 状态 1：上架 2：下架 3：售罄
    private Integer status;
    // 自定义上架时间
    private Date openStartTime;
    // 分享描述
    private String remarks;
    //商品类型 1 普通商品  2 积分商品  3 普通+积分
    private Integer type;
    // 规格列表
    private List<Map<String, String>> specList = Lists.newArrayList();
    // 视频列表
    private List<Map<String, String>> videoList = Lists.newArrayList();
    // 图片列表
    private List<Map<String, String>> picList = Lists.newArrayList();

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getPrice() {
        return price;
    }

    public void setPrice(String price) {
        this.price = price;
    }

    public Double getPostage() {
        return postage;
    }

    public void setPostage(Double postage) {
        this.postage = postage;
    }

    public Long getStock() {
        return stock;
    }

    public void setStock(Long stock) {
        this.stock = stock;
    }

    public String getStoreId() {
        return storeId;
    }

    public void setStoreId(String storeId) {
        this.storeId = storeId;
    }

    public String getStoreName() {
        return storeName;
    }

    public void setStoreName(String storeName) {
        this.storeName = storeName;
    }

    public Boolean getCollect() {
        return isCollect;
    }

    public void setCollect(Boolean collect) {
        isCollect = collect;
    }

    public List<Map<String, String>> getSpecList() {
        return specList;
    }

    public void setSpecList(List<Map<String, String>> specList) {
        this.specList = specList;
    }

    public List<Map<String, String>> getVideoList() {
        return videoList;
    }

    public void setVideoList(List<Map<String, String>> videoList) {
        this.videoList = videoList;
    }

    public List<Map<String, String>> getPicList() {
        return picList;
    }

    public void setPicList(List<Map<String, String>> picList) {
        this.picList = picList;
    }

    public String getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Date getOpenStartTime() {
        return openStartTime;
    }

    public void setOpenStartTime(Date openStartTime) {
        this.openStartTime = openStartTime;
    }

    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }
}
